Subscription Error: "The e-mail address of one or more recipients is not valid."
I have subscriptions that fail because someone's email is no longer valid, where is this error information stored so I can fix the problem? I have a large list and it is hard to do manually. I will be using data driven solutions, but these are existing subscriptions that need to be ran.
September 20th, 2006 9:50pm

I have seen this error before, but I do not think it has anything to do with whether or not an email address is still valid. What I think is happening is that you have e-mail addresses that are incorrectly formatted or even NULL. If you are pulling your e-mail addresses from a database, and the report comes across a NULL, I have seen in it break. As far as the error logs are concerned, it depends on what platform you are using. On my server (RS 2005), the log files are here: \\[SERVERNAME]\c$\program files\Microsoft SQL Server\MSSQL.2\Reporting Services\LogFiles. First, check your e-mail addresses for formatting. Good luck.
Free Windows Admin Tool Kit Click here and download it now
September 21st, 2006 2:56am

I am facing the same problem. Do not know the workaround yet. The additional Observation I have done is: * It validates and send to all the Ids which are NOT a public mail domain. e.g. <Name>@<MyCompanyName.com> * If I try to send the report to <name>@rediffmail.com OR <name>@gmail.com, I get this error. Any workaround?
October 16th, 2006 11:18am

P Joshi, Did you ever find a work-around? I am experiencing the exact symptoms as you. Only my company's domain is permitted ... all others raise this error. My problem is that my company has several subsidiaries with different domain names. Bobby
Free Windows Admin Tool Kit Click here and download it now
April 25th, 2007 4:52pm

The PermittedHosts setting in the rsreportserver.config file that allows you to control to which host names you are allowed to send email. Check to see if it is set (it is not set by default). If it is not, then any host is allowed by the report server. In this case, you should talk with your SMTP server admin about which addresses are allowed. Here are the docs for the config settings: http://msdn2.microsoft.com/en-us/library/ms157273.aspx -Lukasz
April 25th, 2007 7:03pm

i changed the permittedHosts in rsreportserver.comfig to<PermittedHosts><HostName>xxx.be</HostName><HostName>hotmail.com</HostName></PermittedHosts>but i still have the problem that i can only send email to my xxx.be company-mailadress, but to my hotmail.com address it keeps on saying "The e-mail address of one or more recipients is not valid."anyone found the solution meanwhile??????
Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2007 4:58pm

Check the <SendEmailToUserAlias> element in the config file. If it is set to True, you will need to set it to False. This will allow your users to type a fully qualified email address when they create subscriptions. The default prevents users of standard subscription from typing the domain name when specifying their email addresses. Hope that helps, -Lukasz
May 22nd, 2007 7:55pm

I also ran into the same problem. In addition to changing the <SendEmailToUserAlias> in the config file, I had to enable "email relay" on my SMTP server for my Reporting Services server
Free Windows Admin Tool Kit Click here and download it now
June 26th, 2007 10:22pm

Where exactly did you enable "email relay"? I have a 2007 Exchange Server and I can't find the relays like in Exchange 2003. I have the same problem. It only happens when I try to send outside of the organization.
August 2nd, 2007 4:42am

Hi, has anyone had any further luck with this article? We are using Server 2003 with Exhange and I have the same issue and have adjusted the rsreportserver.config fileas per below: <SendEmailToUserAlias>False</SendEmailToUserAlias><DefaultHostName></DefaultHostName><PermittedHosts><HostName>hotmail.com</HostName></PermittedHosts> I am still receiving the same error as the subject shows. Any further suggestions would be greatly appreciated. Cheers
Free Windows Admin Tool Kit Click here and download it now
March 27th, 2008 4:58am

Hello It appears i have just answered my own problem. All tested and worked just fine. After making the changes to the config file above, the SMTP server required permissions to be granted to allow the report server to relay through it. These settings were set on the "properties" of theDefault SMTP Virtual Server under SMTP Protocols in the Exchange System Manager. Cheers
April 2nd, 2008 5:03am

Hi, Can you possibly expand on this? The Relay restrictions on the Exchange server has a box ticked to say, "Allow all computers which successfully authenticate ....." Shouldn't this allow Report Server to work anyway? My Report Server is part of the company domain. Cheers.
Free Windows Admin Tool Kit Click here and download it now
April 8th, 2008 11:48am

..... It might also be worth mentioning that I can successfully send external email directly from SQL Server Management Studio by right-clicking on Database Mail and sending a test. This is using the exact SMPT server as Report Services. Cheers.
April 8th, 2008 12:01pm

Hi To answer your first question, I orginally had the domain entered in this field, ie; domain.local. one would would think this would allow servers on the domain to relay through the SMTP server but that wasn't the case. By entering the IP address of the report server, this did end up allowing the message to pass through. Hopefully that answers that one. Cheers
Free Windows Admin Tool Kit Click here and download it now
April 10th, 2008 11:32am

Hi, My system manager has just pointed out that we are using DHCP instead of static IP addresses for all our servers. He has asked for this to be taken into consideration as there is no guarantee that the IP addresses will not be refreshed. The solution in the above post worked fine for me (thanks again) but unfortunately there doesn't appear to be any DHCP option in the Relay dialog on our SMTP server. Should there be a provision for this somewhere? Thanks, Elracorey.
June 30th, 2008 3:48pm

Hi Elracorey Sorry for the late response. Unfortunately i no longer work for that organisation. i can however tell you that the network there was also DHCP. During my reasearch into that, i saw no consideration given to this and once I found that by entering the IP address actually fixed the issue I didn't look any further. Cheers
Free Windows Admin Tool Kit Click here and download it now
July 17th, 2008 11:46am

Its working cool once We Setup this: Cheers ukboy Log into Exchange 2003 server (mailserverName) and start Exchange System Manager. Expand the organization_name object, and then expand the Servers node. Expand the server_name object of the server on which you want to control mail relay (mailserverName) , and then expand the Protocols node. Expand the SMTP node, right-click the virtual SMTP server on which you want to control mail relay (mailserverName), and then click Properties Click Relay. Click Add. Enter the IP address(111.111.1.80). In the Relay Restrictions dialog box, click OK. Click Apply, and then click OK in the Default SMTP Virtual Server Properties dialog box. <SendEmailToUserAlias>False</SendEmailToUserAlias> <DefaultHostName></DefaultHostName> <PermittedHosts> <HostName>xxx.com</HostName> <HostName>yyyy.com</HostName> <HostName>hhhh.com</HostName> <HostName>ttt.com</HostName> </PermittedHosts> You must restart the SSRS Service once you done all the above setup.Raj
July 28th, 2008 1:29am

hey001us wrote: Its working cool once We Setup this: Cheers ukboy Log into Exchange 2003 server (mailserverName) and start Exchange System Manager. Expand the organization_name object, and then expand the Servers node. Expand the server_name object of the server on which you want to control mail relay (mailserverName) , and then expand the Protocols node. Expand the SMTP node, right-click the virtual SMTP server on which you want to control mail relay (mailserverName), and then click Properties Click Relay. Click Add. Enter the IP address(111.111.1.80). In the Relay Restrictions dialog box, click OK. Click Apply, and then click OK in the Default SMTP Virtual Server Properties dialog box. <SendEmailToUserAlias>False</SendEmailToUserAlias> <DefaultHostName></DefaultHostName> <PermittedHosts> <HostName>xxx.com</HostName> <HostName>yyyy.com</HostName> <HostName>hhhh.com</HostName> <HostName>ttt.com</HostName> </PermittedHosts> You must restart the SSRS Service once you done all the above setup. Raj Do you know how toset this up in Exchange 2007? We set relaying, but it was a different configuration than above. I have everything set with permitted hosts as stated in your message, but we still have that problem. Also, did anybody have to set the SMTPServerPort, SMTPAccountName, SMTPConnectionTimeout, SMTPServerPickupDirectory, SMTPUseSSL, or SMTPAuthenticate fields? We are able to send emails internally, but not externally.
Free Windows Admin Tool Kit Click here and download it now
July 29th, 2008 6:24pm

You open up Exchange Systems Manager client application on your mail server, you than locate SMTP node under the protocols section of the tree node then go to Defaullt SMTP Virtual Server - right click ...Properties-----in the Properties dialog box go to the Access tab then go to the Relay Section and supply sql report server IP address - and there you Go !!! Hope this helpfull ... it worked...
March 12th, 2010 4:37pm

Isn't this strange behavior.I am able to send external mails from 'send test mail' functionality built in Database Mail in sql 2008 but from reportserver it says invalid email address.If the exchange server was the culprit,even the database mail should not have worked for external mails. Can someone from Microsoft support give some inputs. thanks chandan
Free Windows Admin Tool Kit Click here and download it now
March 11th, 2011 12:48pm

Fought this issue for a while, so wanted to report back the fix for my system. Mine ended up being an Exchange-Authentication problem.. here's the Exchange Powershell script to fix it: Get-ReceiveConnector "Local Relay" | Add-ADPermission -User "NT Authority\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient" And then just Restart Service "Microsoft Exchange Transport" to seal the deal. After that SSRS could send emails to external users.
September 6th, 2011 10:20pm

Thank you simp1eton! After having to migrate to a new exchange server our SRSS box would not sent email to external addresses. I checked and rechecked the SMTP auth settings in the Exchange console but this shell command did the trick. I executed the command then restarted the service and the emails went right out.
Free Windows Admin Tool Kit Click here and download it now
March 14th, 2012 1:14pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics